package net.tycmc.cty.ctyms.timejob.common;

import org.apache.log4j.Logger;

/**
 * 日志
 * @author lixiaofan
 *
 */
public class LogUtil {
	public static void info(String classname,String message){
		Logger logger = Logger.getLogger(classname);
		logger.info(message);
	}
	
	public static void debug(String classname,String message){
		Logger logger = Logger.getLogger(classname);
		logger.debug(message);
	}
	
	public static void error(String classname,String message){
		Logger logger = Logger.getLogger(classname);
		logger.error(message);
	}
	
	public static void warn(String classname,String message){
		Logger logger = Logger.getLogger(classname);
		logger.warn(message);
	}
}
